package xyz.suancaiyu.userservice.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import xyz.suancaiyu.userservice.entity.User;

/**
 * @author puruidong
 * @version 2019/1/24 22:12
 */
public interface UserDao extends JpaRepository<User, Long> {

    User findByUsername(String username);
}
